package com.huatai.dataservice.panel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * ADCP设备数据
 * </p>
 *
 * @author lxc
 * @since 2022-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_rt_env_system_adcp_dd")
@ApiModel(value="TbRtEnvSystemAdcpDd对象", description="ADCP设备数据")
public class TbRtEnvSystemAdcpDd implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "试验id（trialId）")
    private String trialId;

    @ApiModelProperty(value = "时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss SSS",
            timezone = "GMT+8"
    )
    private Date time;

	@ApiModelProperty(value = "设备编号 总共3台流场测量设备(001、002、003)")
	@TableField(value = "deviceNumber")
	private String deviceNumber;

	@ApiModelProperty(value = "ADCP艏向(度)")
	@TableField(value = "head")
	private String head;

	@ApiModelProperty(value = "ADCP纵摇(度)")
	@TableField(value = "pitch")
	private String pitch;

	@ApiModelProperty(value = "ADCP横摇(度)")
	@TableField(value = "rolling")
	private String rolling;

	@ApiModelProperty(value = " 测流层厚(米)")
	@TableField(value = "layerIntervalDepth")
	private String layerIntervalDepth;

	@ApiModelProperty(value = "层数")
	@TableField(value = "layerCounts")
	private String layerCounts;

	@ApiModelProperty(value = "盲区深度(米)")
	@TableField(value = "fadeZoneDepth")
	private String fadeZoneDepth;

	@ApiModelProperty(value = " 首层深度(米)")
	@TableField(value = "startLayerDepth")
	private String startLayerDepth;

	@ApiModelProperty(value = " 流速时间间隔(秒)")
	@TableField(value = "flowTimeInterval")
	private String flowTimeInterval;

	@ApiModelProperty(value = "波浪时间间隔(秒)")
	@TableField(value = "waveTimeInterval")
	private String waveTimeInterval;

    /*@ApiModelProperty(value = "/ 设备编号 总共3台流场测量设备(001、002、003)")
    private String deviceNumber;

    @ApiModelProperty(value = " ADCP艏向(度)")
    private String head;

    @ApiModelProperty(value = "/ ADCP纵摇(度)")
    private String pitch;

    @ApiModelProperty(value = "ADCP横摇(度)")
    private String rolling;

    @ApiModelProperty(value = " 测流层厚(米)")
    private String layerIntervalDepth;

    @ApiModelProperty(value = "层数")
    private String layerCounts;

    @ApiModelProperty(value = "盲区深度(米)")
    private String fadeZoneDepth;

    @ApiModelProperty(value = " 首层深度(米)")
    private String startLayerDepth;

    @ApiModelProperty(value = " 流速时间间隔(秒)")
    private String flowTimeInterval;

    @ApiModelProperty(value = "波浪时间间隔(秒)")
    private String waveTimeInterval;*/


}
